package com.naiterui.ehp.bs.recommend.bean;

import static javax.persistence.GenerationType.IDENTITY;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Builder;
import lombok.Data;

/**
 * 系统管理员信息表(SysAdminInfo)实体类
 *
 * @author gongbaoqiang
 * @since 2020-12-11 14:53:56
 */
@Builder
@Data
@Entity
@Table(name = "sys_admin_info")
public class SysAdminInfo implements Serializable {

  private static final long serialVersionUID = -85892445966013916L;


  @Id
  @GeneratedValue(strategy = IDENTITY)
  @Column(name = "id", unique = true, nullable = false)
  private Long id;

  /**
   * 管理人手机
   */
  @Column(name = "phone")
  private String phone;

  /**
   * 管理人姓名
   */
  @Column(name = "name")
  private String name;

  @Column(name = "created_at")
  private Date createdAt;

}
